package com.dsbj.it.DingTalkBotStarter.dao.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Builder;
import lombok.Data;


@Data
@Builder
@TableName("tr_machines")
public class MachinesDO extends BaseDO implements HasDetail{

    private Long simId;

    private String machine;

    private String cell;

    private String machineType;

    @TableField(value = "machine_count_period", typeHandler = JacksonTypeHandler.class)
    private DetailDO detailDO;

    @Override
    public DetailDO getDetailDO() {
        return this.detailDO;
    }

}
